package com.abigdreamer.im.server.ui.desktop;

import java.util.List;

public class DeskTopConfig {

	private String wallPaper="wallimage/Bliss.jpg";
	private int arranges=9;
	private int itemWeigth=110;
	private int itemHigth=32;
	private int itemDownExcursion=50;
	private int itemRightExcursion=130;
	private List<ItemConfig> itemList;
	
	public ItemConfig getItemConfig(String Itemclass){
		ItemConfig config=null;
		for(ItemConfig itemConfig:itemList){
			if(itemConfig.getItemClass().equals(Itemclass)){
				config=itemConfig;
				break;
			}
		}
		return config;
	}
	
	public String getWallPaper() {
		return wallPaper;
	}
	public void setWallPaper(String wallPaper) {
		this.wallPaper = wallPaper;
	}
	public int getArranges() {
		return arranges;
	}
	public void setArranges(int arranges) {
		this.arranges = arranges;
	}
	public int getItemWeigth() {
		return itemWeigth;
	}
	public void setItemWeigth(int itemWeigth) {
		this.itemWeigth = itemWeigth;
	}
	public int getItemHigth() {
		return itemHigth;
	}
	public void setItemHigth(int itemHigth) {
		this.itemHigth = itemHigth;
	}
	public int getItemDownExcursion() {
		return itemDownExcursion;
	}
	public void setItemDownExcursion(int itemDownExcursion) {
		this.itemDownExcursion = itemDownExcursion;
	}
	public int getItemRightExcursion() {
		return itemRightExcursion;
	}
	public void setItemRightExcursion(int itemRightExcursion) {
		this.itemRightExcursion = itemRightExcursion;
	}
	public List<ItemConfig> getItemList() {
		return itemList;
	}
	public void setItemList(List<ItemConfig> itemList) {
		this.itemList = itemList;
	}
}
